<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class VideoFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        $i = random_int(1,5);
        return [
            'name'=>$this->faker->name,
            'expert_id'=>$i,
            'profile'=>$this->faker->paragraphs(3,true),
            'start_at'=>$this->faker->dateTime('now','PRC'),
            'end_at'=>$this->faker->dateTimeInInterval('now','+2 hours','PRC'),
        ];
    }
}
